<!--作者:于大明-->
<template>
    <view class="receive-discount-body d-flex">
		<uni-easyinput v-model="addReceiveCodeIn.receiveCode" placeholder="请输入优惠码" type="number"></uni-easyinput>
		<button type="primary" size="mini" @tap="$emit('addReceiveCode')" style="padding-top: 8rpx;">领取优惠</button>
	</view>
</template>

<script src="./receive-discount-body.js"></script>

<style lang="less" scoped>
    @import url('receive-discount-body.less');
</style>
